<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title>{phrase var='general.title'} | {phrase var='general.protduct_title'}</title>
        <link rel="icon" href="http://localhost/magento/skin/adminhtml/default/default/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="http://localhost/magento/skin/adminhtml/default/default/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/default.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/layout.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/menu.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.treeview.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.theme.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.core.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.datepicker.css" media="all" />

        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.button.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.resizable.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.dialog.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.tooltip.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.override.css" />

        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/jquery.ui.tab.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/vertical-tab.css" media="all" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/table.css" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/add-new.css" />
        <link rel="stylesheet" type="text/css" href="{phrase var='general.host'}/static/css/admin/product.css" />
        <!--[if lt IE 8]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/iestyles.css" media="all" />
        <![endif]-->
        <!--[if lt IE 7]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/below_ie7.css" media="all" />
        <script type="text/javascript" src="http://localhost/magento/js/lib/ds-sleight.js" defer></script>
        <script type="text/javascript" src="http://localhost/magento/js/varien/iehover-fix.js"></script>
        <![endif]-->
        <!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="http://localhost/magento/skin/adminhtml/default/default/ie7.css" media="all" />
        <![endif]-->
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/general.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.min.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.treeview.js"></script>
        <script type="text/javascript" src="{phrase var='general.host'}/static/js/jquery.cookie.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/admin/menu.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.core.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.widget.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.datepicker.js"></script>

        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.button.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.draggable.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.mouse.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.position.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.resizable.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.dialog.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.tooltip.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.ui.tab.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/jquery.form.js"></script>

        <script type='text/javascript' src="{phrase var='general.host'}/static/js/tiny_mce/tiny_mce.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/project.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/project.ui.js"></script>
        <script type='text/javascript' src="{phrase var='general.host'}/static/js/admin/user/index.js"></script>
    </head>
    <body id="store-body">
        <div class="overal">
            <noscript>
                <div class="noscript">
                    <div class="content">
                        <p><strong>JavaScript seems to be disabled in your browser.</strong></p>
                        <p>Please enable javascript browser to use the functionality of website.</p>
                    </div>
                </div>
            </noscript>
            <div class="header">
                <div class="clear"></div>
                <div id="menu" class="navigation-store">
                    <!-- menu start -->
                    <ul id="navigation">
                        <li class=" active  level0"> <a href="#" class="active"><span>Dashboard</span></a>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>Sales</span></a>
                            <ul>
                                <li class="level1"> <a href="#"><span>Orders</span></a>
                                </li>
                                <li class="level1"> <a href="#"><span>Invoices</span></a>
                                </li>
                                <li class="level1"> <a href="#"><span>Shipments</span></a>
                                </li>
                            </ul>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>Product</span></a>
                            <ul>
                                <li class="level1"> <a href="#"><span>Manage Products</span></a>
                                </li>
                                <li class=" level1"> <a href="#"><span>Manage Categories</span></a>
                                </li>

                                <li class=" parent level1"> <a href="#" onclick="return false"><span>Tags</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>All Tags</span></a>
                                        </li>
                                        <li class="last level2"> <a href=""><span>Pending Tags</span></a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>Users</span></a>
                            <ul>
                                <li class=" level1"> <a href="#"><span>Manage User</span></a>
                                </li>
                                <li class="level1"> <a href="#"><span>Manage Catergories</span></a>
                                </li>
                            </ul>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>Newsletter</span></a>
                            <ul>
                                <li class="level1"> <a href="#"><span>Newsletter Templates</span></a>
                                </li>
                                <li class="level1"> <a href="#"><span>Newsletter Queue</span></a>
                                </li>
                                <li class="level1"> <a href="#"><span>Newsletter Subscribers</span></a>
                                </li>
                                <li class="last level1"> <a href="#"><span>Newsletter Problem Reports</span></a>
                                </li>
                            </ul>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>Reports</span></a>
                            <ul>
                                <li class="parent level1"> <a href="#" onclick="return false"><span>Sales</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>Orders</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Invoiced</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Shipping</span></a>
                                        </li>
                                        <li class="last level2"> <a href="#"><span>PayPal Settlement Reports</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="parent level1"> <a href="#" onclick="return false"><span>Cart</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>Products in carts</span></a>
                                        </li>
                                        <li class="last level2"> <a href="#"><span>Abandoned carts</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="parent level1"> <a href="#" onclick="return false"><span>Products</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>Bestsellers</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Products Ordered</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Most Viewed</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="parent level1"> <a href="#" onclick="return false"><span>Customers</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>New Accounts</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Customers by orders total</span></a>
                                        </li>
                                        <li class="last level2"> <a href="#"><span>Customers by number of orders</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="parent level1"> <a href="#" onclick="return false"><span>Tags</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>Customers</span></a>
                                        </li>
                                        <li class="level2"> <a href="#"><span>Products</span></a>
                                        </li>
                                        <li class="last level2"> <a href="#"><span>Popular</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="level1"> <a href="#"><span>Search Terms</span></a>
                                </li>
                            </ul>
                        </li>
                        <li class="parent level0"> <a href="#" onclick="return false"><span>System</span></a>
                            <ul>
                                <li class="level1"> <a href="#"><span>My Account</span></a>
                                </li>
                                <li class="parent level1"> <a href="#"><span>Manage Currency</span></a>
                                    <ul>
                                        <li class="level2"> <a href="#"><span>Rates</span></a>
                                        </li>
                                        <li class="last level2"> <a href="#"><span>Symbols</span></a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="level1"> <a href="#"><span>Emails</span></a>
                                </li>
                                <li class="last level1"> <a href="#"><span>Configuration</span></a>
                                </li>
                            </ul>
                        </li>
                    </ul>
                    <!-- menu end -->
                </div>
            </div>

            <div class="info-log">
                <p class="info">
                    Logged in as millionairetai<span class="separator">|</span><a href="#">Log Out</a>
                </p>
            </div>

            <div class="container">
                <div id="main-container">
                    <div id="messages"></div>
                    <div class="header-title">
                        <table cellspacing="0">
                            <tbody>
                                <tr>
                                    <td><h3>Manage User</h3></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="main-content">
                        <table cellspacing="0" cellpadding="0">
                            <tbody><tr><td></td><td></td></tr>
                            </tbody>
                        </table>
                        <table cellspacing="0" cellpadding="0" class="table-pager-function">
                            <tbody>
                                <tr class="pager-function">
                                    <td class="pager">
                                        <div id="pagination"></div>
                                    </td>
                                    <td class="function">
                                        <input type="button" name="add" id="add" value="Add" class="add" />
                                        <input type="button" name="delete_item" id="delete_item" value="Delete" class="delete" />
                                        <input type="button" name="export_excel" id="export_excel" value="Export to excel" /> 
                                        <input type="button" name="search" id="search" value="Seach" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                            <table cellspacing="0" cellpadding="0" class='table-content'>
                                <thead>
                                    <tr class='head'>
                                        <th class="header-table checkbox" style="width:5%;" align="center"><input type="checkbox" name="all_item" id="all_item"  /></th>
                                        <th class="header-table <?= empty($aSort['name']) ? '' : ($aSort['name'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:18%;"><span name="sort_name" id="sort_name" class="sort">Name</span></th>
                                        <th class="header-table <?= empty($aSort['username']) ? '' : ($aSort['username'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:5%;"><span name="sort_username" id="sort_username" class="sort">Username</span></th>
                                        <th class="header-table <?= empty($aSort['email']) ? '' : ($aSort['email'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:18%;"><span name="sort_email" id="sort_email" class="sort">Email</span></th>
                                        <th class="header-table <?= empty($aSort['status']) ? '' : ($aSort['status'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:11%;"><span name="sort_status" id="sort_status" class="sort">Account Status</span></th>
                                        <th class="header-table <?= empty($aSort['join_date']) ? '' : ($aSort['join_date'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:13%;"><span name="sort_join_date" id="sort_join_date" class="sort">Joined Date</span></th>
                                        <th class="header-table <?= empty($aSort['user_group']) ? '' : ($aSort['user_group'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:5%;"><span name="sort_user_group" id="sort_user_group" class="sort">User Group</span></th>
                                        <th class="header-table <?= empty($aSort['id']) ? '' : ($aSort['id'] == 'asc' ? 'sortasc' : 'sortdesc'); ?>" style="width:10%;"><span name="sort_id" id="sort_id" class="sort">ID</span></th>
                                        <th class="header-table" style="width:5%;">*</th>
                                    </tr>
                                    <tr class="search">
                                        <?php echo form_open('user/admincp/index/search', 'class="form-user" id="form_search" method="post'); ?>
                                        <td class="center">
                                        </td>
                                        <td><input id="search_name" type="text" name="search[name]" class="input-text" /></td>
                                        <td>
                                            <input id="search_username" type="text" size="8"  name="search[username]" />
                                        </td>
                                        <td><input id="search_email" type="text" name="search[email]" class="input-text" /></td>
                                        <td>
                                            <select id="search_is_actived" name="search[is_actived]" class="select">
                                                <option value="-1">All</option>
                                                <option value="1">Active</option>
                                                <option value="0">Inactive</option>
                                                <option value="2">Block</option>
                                            </select>
                                        </td>
                                        <td align="right">
                                            <div style="margin-bottom: 5px;">
                                                <span class="date right">From:</span><input type="text" class="date" size="8" id="search_join_date_from"  name="search[join_date][from]" /><br />
                                            </div>
                                            <div>
                                                <span class="date right">To:</span><input class="date" type="text" size="8" id="search_join_date_to" name="search[join_date][to]" />
                                            </div>
                                        </td>
                                        <td>
                                            <select name="search[user_group]" id="search_user_group" class="select">
                                                <option value="-1">All</option>
                                                <option value="1">Super Admin</option>
                                                <option value="2">Administator</option>
                                                <option value="3">Register</option>
                                                <option value="4">Vip</option>
                                                <option value="5">Normal</option>
                                            </select>
                                        </td>
                                        <td align="right">
                                            <div style="margin-bottom: 5px;">
                                                <span class="date-from right">From:</span><input type="text" size="3"  name="search[id][from]" id="search_id_from" /><br />
                                            </div>
                                            <div>
                                                <span class="date-to right">To:</span><input type="text" size="3" name="search[id][to]"  id="search_id_to" />
                                            </div>
                                        </td>
                                        <td></td>
                                        <?= form_close(); ?>
                                    </tr>
                                </thead>
                                <tbody id="body_list">
                                </tbody>
                            </table>
                        <table cellspacing="0" cellpadding="0" class="table-pager-function">
                            <tbody>
                                <tr class="pager-function">
                                    <td class="pager">
                                        <span class="title">
                                            Page:
                                        </span>
                                        <span class="list-page">
                                            1-2-3-4-5-6-7-8-9
                                        </span>
                                        <span class="pager-current">
                                            of 53
                                        </span>
                                        <span class="separator">|</span>
                                        <span class="display">
                                            Display:
                                            <select id="">
                                                <option value="">3</option>
                                                <option value="">3</option>
                                                <option value="">3</option>
                                            </select>
                                            per page
                                        </span>
                                    </td>
                                    <td class="function">
                                        <input type="button" name="add" id="add" value="Add" class="add" />
                                        <input type="button" name="delete" id="delete" value="Delete" class="delete" />
                                        <input type="button" name="export_excel" id="export_excel" value="Export to excel" /> 
                                        <input type="button" name="search" id="search" value="Seach" />
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>

            <div class="footer">
                Tutorsell 2013@Sywogroup.com
            </div>
        </div>
        <input type="hidden" value="{pharse var='product.error_message_add'}" name="error_message_add" id="error_message_add"/>
        <input type="hidden" id="token_name" name="token_value" value="<?= $token->name; ?>" />
        <input type="hidden" id="token_value" name="token_value" value="<?= $token->value; ?>" />
        <code class="hidden" id="dlg_add_user"><!-- <?php echo form_open('user/admincp/index/ajax_save', 'method="post" class="form-add" id="form_add"'); ?>
                <table class="add-new" cellpadding="0" cellspacing="0">
                    <tbody>
                        <tr>
                                            <td>
                                                <input id="user_id" class="input-text required" name="user[id]" value="" type="hidden" />
                                            </td>
                                        </tr>
                        <tr>
                            <td>
                                <label for="username">Name <span class="form-required" title="This field is required.">*</span></label>
                            </td>
                            <td>
                                <input title="Spaces are allowed; punctuation is not allowed except for periods, hyphens, apostrophes, and underscores." class="name input-text required" id="user_name" name="user[name]" value="" size="20" maxlength="60" type="text" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="username">Username <span class="form-required" title="This field is required.">*</span></label>
                            </td>
                            <td>
                                <input title="Spaces are allowed; punctuation is not allowed except for periods, hyphens, apostrophes, and underscores." class="username input-text required" id="user_username" name="user[username]" value="" size="20" maxlength="60" type="text" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="email">E-mail address <span class="form-required" title="This field is required.">*</span></label>
                            </td>
                            <td>
                                <input title="A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail." id="user_email" name="user[email]" value="" size="20" maxlength="254" class="input-text required" type="text" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="pass1">Password <span class="form-required" title="This field is required.">*</span></label>
                            </td>
                            <td>
                                <input class="input-password input-text required" id="user_password" name="user[password]" size="20" maxlength="128" type="password" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <label for="pass2">Confirm password <span class="form-required" title="This field is required.">*</span></label>
                                <div style="display: none;" class="password-suggestions description"></div>
                                <div class="password-match">Password match:<span id="password_match">no</span></div>
                            </td>
                            <td>
                                <input title="Provide a password for the new account in both fields." class="input-password input-text required" id="user_password_match" name="user[password_match]" size="20" maxlength="128" type="password" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <label for="status">Status </label>
                                <div id="status" class="form-radios">
                                    <input id="status_1" name="user[status]" value="1" checked="checked" class="input-radio" type="radio" />  <label class="option" for="status_1">Active</label>

                                    <input id="status_0" name="user[status]" value="0" class="input-radio" type="radio" />  <label class="option" for="status_2">Inactive</label>

                                    <input id="status_2" name="user[status]" value="2" class="input-radio" type="radio" />  <label class="option" for="status_2">Block</label>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <label for="roles">User Group </label>
                                <div id="" class="form-select">
                                    <select class="select" name="user[user_group]" id="user_user_group">
                                        <option value="1">Super Admin</option>
                                        <option value="2">Administator</option>
                                        <option value="3" selected="selected">Register</option>
                                        <option value="4">Vip</option>
                                        <option value="5">Normal</option>
                                    </select>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <div>
                                    <input id="notify" name="user[notify]" value="1" class="input-checkbox" type="checkbox" />  <label class="option" for="notify">Notify user of new account </label>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input name="form_build_id" value="{}" type="hidden" />
                                <input name="form_token" value="{}" type="hidden" />
                                <input name="form_id" value="user_register_form" type="hidden" />
                                <div class="form-actions form-wrapper">
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>    
            <?php form_close(); ?>
        --></code>
        <code class="hidden" id="row_user"><!-- <tr id="row_{user_id}" class="row">
                                    <td class="center">
                                        <input type="checkbox" name="delete[{user_id}]" id="{user_id}" class="item-select" />
                                    </td>
                                    <td id="item_name_{user_id}">{user_name}</td>
                                    <td>{user_username}</td>
                                    <td>{user_email}</td>
                                    <td>{user_status}</td>
                                    <td>{user_join_date}</td>
                                    <td>{user_user_group}</td>
                                    <td class="right"> {user_id}</td>
                                    <td> <a href = "#" id="edit_item_{user_id}" class = "edit-item"> Edit </a></td >
                                </tr> -->
        </code>
        <code class="hidden" id="phrase_js"><!-- <?= $phrase_js ?> --></code>
        <div style="left: -2px; top: 0px; width: 1349px; height: 3498px; display: none;" id="loading_mask" >
            <p id="loading_mask_loader" class="loader"><img alt="Loading..." src="http://demo-admin.magentocommerce.com/skin/adminhtml/default/default/images/ajax-loader-tr.gif"><br>Please wait...</p>
                        </div>
                        </body>
                        </html>